
import 'dart:async';
import 'package:reabammendian/src/reabam/operation/rb_config.dart';
import 'package:xsdk_flutter/xsdk/xsdk_flutter_package.dart';

/*
webview
 */
class MainWebViewStatePage extends XPageWebViewState{


  MainWebViewStatePage(
      {
        super.desktopNewWindowTitle='门店端'
      }
      );

  @override
  String getWebUrl() {
    return RBConfigs.h5Url;
  }

  @override
  void onCreate() {
    super.onCreate();
  }


  @override
  void onDestroy() {
    super.onDestroy();
  }

  @override
  void onStart() {
    XFlutterUtils.setScreenOrientation(false);
    XFlutterUtils.setSystemStatusBar(false);
    //保持设备唤醒状态
    XFlutterUtils.keepWakelock();
  }


  @override
  Future<void> handleReceiveJsSendMsg(String jsonStr) async {
  }



}